package singleton_pattern;

/**
 * 用于演示枚举类单例
 */
public class SingleTon3 {

    //类中其他方法，尽量是static
    public static void doSomething() {
        System.out.println("this is a singleInstance");
    }
}
